SIZE SPRITE

This command will expand or shrink the specified sprite according to the size values provided.

  Syntax
SIZE SPRITE Sprite Number, XSize, YSize
  Parameters
Sprite Number
Integer
The sprite number
XSize
Integer
The command will expand or shrink the specified sprite according to the horizontal size values provided
YSize
Integer
The command will expand or shrink the specified sprite according to the vertical size values provided

  Returns

This command does not return a value.

  Description

You must specify both a horizontal and vertical size when resizing sprites. The size values must be greater than zero of the command will fail. The parameters should be specified using integer values.

  Example Code
cls
load image "man.bmp",1
sprite 1,100,100,1
wait 1000*8
size sprite 1,200,200
do
loop
end
  See also

SPRITE Commands Menu
Index